<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"/webHome/host6366235/www/public/../application/admin/view/index/index.html";i:1679839656;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title> <?php echo $setting['webname']; ?>- 主页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <link href="/public/static/admin/layui/css/layui.css" rel="stylesheet">
    <![endif]-->
    <link rel="shortcut icon" href="/public/static/favicon.ico">
    <link href="/public/static/admin/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/public/static/admin/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/public/static/admin/css/animate.css" rel="stylesheet">
    <link href="/public/static/admin/css/style.css?v=4.1.0" rel="stylesheet">

</head>
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <!-- 导航头部开始 -->
            <li class="nav-header" style="list-style: none">
                <div class="dropdown profile-element">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear">
                            <span class="block m-t-xs" style="font-size:20px;">
                                <strong class="font-bold"><?php echo $setting['school_name']; ?></strong>
                            </span>
                        </span>
                    </a>
                </div>
                <div class="logo-element"><?php echo $setting['school_name']; ?></div>
            </li>
            <!-- 导航头部结束 -->
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <?php foreach($list as $vo): ?>
                    <!-- 导航组开始 -->
                    <li>
                        <a href="#">
                            <i class="fa <?php echo $vo['icon']; ?>"></i>
                            <span class="nav-label"><?php echo $vo['title']; ?></span>
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                            <?php foreach($vo['menuTow'] as $vs): ?>
                            <li>
                                <a class="J_menuItem" href="/public/index.php/admin/<?php echo $vs['href']; ?>"><i class="fa <?php echo $vs['icon']; ?>"></i><?php echo $vs['title']; ?></a>
                            </li>
                            <?php endforeach; if($vo['id'] == 35): foreach($grade as $value): ?>
                                    <li>
                                        <a class="J_menuItem" href="/public/index.php/admin/users/lists?grade=<?php echo $value['grade']; ?>"><i class="fa fa fa-genderless"> <?php echo $value['grade']; ?>级</i></a>
                                    </li>
                                <?php endforeach; endif; ?>
                        </ul>
                    </li>
                    <!-- 导航组结束 -->
                    <?php endforeach; ?>
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                    	<a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a> 
                    </div>
                </nav>
            </div>
            <!-- 主题内容开始 -->
            <div class="row J_mainContent" id="content-main">
                <iframe id="J_iframe" width="100%" height="100%" src="<?php echo url('Admins/admin'); ?>" frameborder="0" data-id="" seamless></iframe>
            </div>
            <!-- 主题内容结束 -->
        </div>
        <!--右侧部分结束-->
    </div>
    <!-- 全局js -->
    <script src="/public/static/admin/js/jquery.min.js?v=2.1.4"></script>
    <script src="/public/static/admin/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="/public/static/admin/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="/public/static/admin/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="/public/static/admin/js/plugins/layer/layer.min.js"></script>

    <!-- 自定义js -->
    <script src="/public/static/admin/js/hAdmin.js?v=4.1.0"></script>
    <script type="text/javascript" src="/public/static/admin/js/index.js"></script>

    <!-- 第三方插件 -->
    <script src="/public/static/admin/js/plugins/pace/pace.min.js"></script>
    <!--layui-->
    <script src="/public/static/admin/layui/layui.js"></script>
    <script>
        layui.use('layer', function(){ //独立版的layer无需执行这一句
            var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句
            //点击提交
            $("#exits").click(function(){
                $.post("<?php echo url('Login/exits'); ?>",{},function(data){
                    top.layer.msg(data.msg,{time:2000,shade:0.5},function(){
                        if(data.url){

                            window.location.href = data.url;
                        }
                    });

                })
            });
        });
    </script>
</body>

</html>
